package com.tonghe6.dao;

import com.tonghe6.pojo.Teacher;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @Date:2021/12/28- 12- 28- 11:48
 **/
public interface TeacherMapper {
    @Select("select * from teacher where id = #{tid}")
    Teacher getTeacherList(@Param("tid")int id);
}
